ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / TypeEx Class / New Method / New<T>(Type,Action<T>) Method
The type.
The initializers.

In This Topic
    New<T>(Type,Action<T>) Method
    In This Topic
    Creates a new instance of this type using the default constructor.
    Syntax
    'Declaration
     
    Public Overloads Shared Function New(Of T)( _
       ByVal type As System.Type, _
       ByVal initializers As System.Action(Of T) _
    ) As T
    public static T New<T>( 
       System.Type type,
       System.Action<T> initializers
    )

    Parameters

    type
    The type.
    initializers
    The initializers.

    Type Parameters

    T

    Return Value

    A new instance of type T
    See Also